from abc import ABC, abstractmethod

class IASRModel(ABC):
    @abstractmethod
    def processAudio(self, audio: "torch.Tensor") -> None:
        pass

    @abstractmethod
    def getTranscript(self) -> str:
        pass

    @abstractmethod
    def getWordLocations(self) -> list:
        pass

class ITextToPhonemModel(ABC):
    @abstractmethod
    def convertToPhonem(self, word: str) -> str:
        pass 